package com.zhuanzhuan.hero.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuanzhuan.hero.user.entity.HeroUserAudit;
import com.zhuanzhuan.hero.user.pojo.bo.QueryAuditParam;

import java.util.List;

/**
 * dal Interface:HeroUserAudit
 * @author hanjunjun
 * @date 2024-6-27
 */
public interface HeroUserAuditMapper extends BaseMapper<HeroUserAudit> {

    List<HeroUserAudit> select(HeroUserAudit record);

    /**
     * 查询审核记录
     *  创建时间倒序排序
     * @param queryAuditParam
     * @return java.util.List<com.zhuanzhuan.hero.user.entity.HeroUserAudit>
     * @author  hanjunjun
     * @date 2024/7/17
     **/
    List<HeroUserAudit> listByParam(QueryAuditParam queryAuditParam);

    Integer getCount(HeroUserAudit record);

}